package policies

import (
	"gitee.com/lidongyooo/goblog/app/models/article"
	"gitee.com/lidongyooo/goblog/pkg/auth"
)

func CanModifyArticle(_article article.Article) bool {
	return auth.User().Id == _article.UserId
}